package com.xhwl.logistics.strategy;

import com.xhwl.common.exception.BusinessException;
import com.xhwl.logistics.bo.cent.VehicleIntegratedConfigBO;
import com.xhwl.logistics.bo.manipulate.CreateVehicleBlacklistHttpBO;
import com.xhwl.logistics.bo.manipulate.DeleteVehicleBlacklistHttpBO;

public interface IVehicleParkingLotBlacklistHandler {

    default void addCarBlack(VehicleIntegratedConfigBO vehicleIntegratedConfigBO, CreateVehicleBlacklistHttpBO createVehicleBlacklistHttpBO) {
        throw new BusinessException("该项目车场不支持增加车辆黑名单记录，该项目集成配置信息:" + vehicleIntegratedConfigBO);
    }

    default void deleteCarBlack(VehicleIntegratedConfigBO vehicleIntegratedConfigBO, DeleteVehicleBlacklistHttpBO deleteVehicleBlacklistHttpBO) {
        throw new BusinessException("该项目车场不支持删除车辆黑名单记录，该项目集成配置信息:" + vehicleIntegratedConfigBO);
    }

}
